import Vue from 'vue'
import App from './App.vue'
// import router from './router'
import store from './store'
// import 'view-design/dist/styles/iview.css';
import './themes/index.less'
import mixins from './mixins'
import { Notice, Message, Modal } from 'view-design'
import { Button } from 'view-design'

import 'swiper/swiper-bundle.css'
import Swiper2, { Pagination } from 'swiper'
Swiper2.use([Pagination])
Vue.component('Button', Button)
Vue.config.productionTip = false
Vue.prototype.$Notice = Notice
Vue.prototype.$Message = Message
Vue.prototype.$Modal = Modal
Vue.mixin(mixins)

window.eventBus = new Vue()

new Vue({
  // router,
  store,
  render: h => h(App)
}).$mount('#app')
